/**
 * @description link menu entry
 * @author wangfupeng
 */

import InsertArticle from './insertArticle';
import EditLinkMenu from './editLinkMenu';
import { genLinkMenuConfig } from './config';

const config = genLinkMenuConfig(); // menu config

const insertArticleLinkMenuConf = {
  key: 'insertArticleLink',
  factory() {
    return new InsertArticle();
  },

  config,
};

const editLinkMenuConf = {
  key: 'editInsertLink',
  factory() {
    return new EditLinkMenu();
  },
  config,
};

export { insertArticleLinkMenuConf, editLinkMenuConf };
